var findInArray = (array, f) => array.findIndex(f)